package com.beiding.my.mql.utils;

public class Block extends Pair{
    protected String text;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public void cutText(String text) {
        this.text = text.substring(this.getStart(), this.getEnd() + 1);
    }

    @Override
    public String toString() {
        return text;
    }
}
